/* วิธีการพัฒนา CSS 
1. ให้ทำการไล่ Code ดูก่อนว่า มีแล้วหรือยัง 
2. ให้ทำการประกาศไว้ด้วยว่า ใครแก้ไขเพิ่มตรงตรงไหน  เพื่อลดปัญหาที่จะเกิดขึ้นกับหน้าตาเว็บไซต์
*/
/* ทดสอบ layout design ถ้าใช้งานจริงให้ commnet ออก */ 
/* div{ border:solid 1px #CCCCCC;}
*  img { border:solid 1px  #99CC00;}
* span{ border:solid 1px #99FF99;}
/* สิ้นสุดการทดสอบ layout design */


body {
background-image:url(images/bg.jpg);
background-attachment:fixed; 
	background-position:center top;
	background-repeat:repeat-x;
	text-align: center;
	font:Tahoma;
	font-size:12px;
}
.bg3 { background-image:url(images/moic_bg3.png); height:82px;}
a:link { font-size:12px; font-family:"Arial", Times, sans-serif, Helvetica;}
.textcontent{ font-size:12px; font-family:"Arial", Times, sans-serif, Helvetica;}
h1, h2, h3 {font-family:"Arial", Times, sans-serif, Helvetica; margin:0}
h1 {font-size: 14px;color: #fff;font-weight: normal;}
h2 {font-size: 12px;color: #06f;font-weight: bold;}
h3 {font-size: 10px;font-weight: bold;}

a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #6666FF;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #6666FF;
}
a:hover {
	text-decoration: underline;
	color: #33FFFF;
}
a:active {
	text-decoration: none;
	color: #33FFFF;
}
.text_head {
    font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: bold;
	color: #FF9900;
}
.text_head02 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: none;
	color: #999999;
}
/* รูปภาพ */ 
 img, div,  input { behavior: url(images/iepngfix.htc);}
 * html  img, div,  input { behavior: url(images/iepngfix.htc);}
img { border:0;}


/* Themes  และการจัดวาง */ 
#container
{
   width: 990px;
   position: relative;
   margin-top: 0px;
   margin-left: auto;
   margin-right: auto;
   text-align: left;
   }
* html #container { width: 990px; }
.bg_body {
   background-image:url(images/bg_body.png);
   background-repeat:no-repeat;
}
.bg_head { background-image:url(images/bg_head2.png); background-repeat:no-repeat; height:40px; background-position:bottom;}
#container div,img {behavior: url(images/iepngfix.htc);}
* html #container div,img {behavior: url(images/iepngfix.htc);}

.title_bg{  
background:url(images/bg_title_02.png); 
 background-repeat:no-repeat;
 background-position:left;}

.block_left {
 width:220px; float:left; margin-left:12px;
/* border: 1px #CCCCCC dashed; */
 }
* html .block_left {
 width:100px; float:left;  margin-left:5px;

}
 

.block_center {
 width:480px;float:left;  margin-left:5px;
/* border: 1px #CCCCCC dashed; */
}

.block_right {
 width:240px; float:left; margin-left:8px;
/* border: 1px #CCCCCC dashed; */
}
*html .block_right {
 width:220px; float:left; margin-left:8px;
/*  border: 1px #CCCCCC dashed; */
}


.block_center_in_left {
float:left; width:237px;   
}
.block_center_in_right {
float:right; width:237px; 
}




.block_center_detail {
 width:700px; float:left; margin-left:8px;

}
.block_center_detail_full {
 width:970px; float:left; margin-left:8px;

}

.boxtop {

width:970px; height:13px; background:url(images/rice_03.png);
overflow:hidden;
}
.boxfooter {
width:970px; height:25px; background:url(images/rice_08.png); overflow:auto;
}
.boxcenter {

margin:0;
overflow:hidden;
}
.center480 {width:480px; overflow:auto;}
.flowauto {overflow:auto;}
* html .boxcenter { height:100%;}
* p { margin:0px;}
.title { font-size:18px; font-weight:bold; color:#000099;

}
.subtitle { font-size:14px; font-weight:bold; color:#0033CC}
.cccccc { color: #999999}
.table__ { border-bottom:#CCCCCC 1px dashed;}
/* END Theme */ 

.tableU {
	font-size: 12px;
	font-weight: normal;
	font-family: "Tahoma";
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.table_ {
	font-size: 12px;
	font-weight: normal;
	font-family: "Tahoma";
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.tablespace {
	font-size: 12px;
	font-weight: normal;
	font-family: "Tahoma";
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	width: 5px;
	height: 22px;
}


.tabmenu {
	font-size: 12px;
	font-weight: normal;
	font-family: "MS Sans Serif";
	background-image: url(http://www.thainhf.org/images/tabmenu_01.jpg);
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: none;

	border-bottom-color: #CCCCCC;
}
.tabmenu2 {
	font-size: 12px;
	font-weight: normal;
	font-family: "MS Sans Serif";
	background-image: url(http://www.thainhf.org/images/tabmenu_03.jpg);
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 0px;
	border-left-width: 1px;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	height: 28px;
	float: none;
	clear: none;
	padding-top: 5px;
	padding-right: 5px;
	padding-left: 5px;
}
.calendar {
	PADDING-RIGHT: 2px;
	PADDING-LEFT: 18px;
	FONT-SIZE: 12xp;
	PADDING-BOTTOM: 2px;
	MARGIN: 0px;
	VERTICAL-ALIGN: middle;
	WIDTH: 21px;
	COLOR: #000000;
	PADDING-TOP: 3px;
	FONT-FAMILY: Tahoma;
	height: 21px;

	background-image: url(http://www.thainhf.org/images/calendar.gif);
	background-repeat: no-repeat;
	background-position: 0px 1px;

}
.titleFFFFFF {
	font-size: 40px;
	font-weight: bolder;
	font-family: "Tahoma";
	color: #FFFFFF;
}
.buntton_save {
	BORDER-RIGHT: #ffffff 0px solid;
	BORDER-TOP: #ffffff 0px solid;
	FONT-SIZE: 12xp;
	PADDING-BOTTOM: 15px;
	MARGIN: 0px;
	VERTICAL-ALIGN: middle;
	BORDER-LEFT: #ffffff 0px solid;
	WIDTH: 22px;
	COLOR: #000000;
	PADDING-TOP: 3px;
	BORDER-BOTTOM: #ffffff 0px solid;
	FONT-FAMILY: "Tahoma";
	HEIGHT: 21px;
	background-image: url(http://www.thainhf.org/admin/images/save.gif);
	background-repeat: no-repeat;
}
.tableUdot {

	font-size: 12px;
	font-weight: normal;
	font-family: "Tahoma";
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: dashed;
	border-bottom-style: dashed;
	border-left-style: dashed;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.table_bold {


	font-size: 12px;
	font-weight: normal;
	font-family: "Tahoma";
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 2px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: dashed;
	border-bottom-style: solid;
	border-left-style: dashed;
	border-top-color: #336699;
	border-right-color: #336699;
	border-bottom-color: #336699;
	border-left-color: #336699;
}.dtree {
	font-family: Tahoma;
	font-size: 12px;
	color: #666;
	white-space: nowrap;
}
.dtree img {
	border: 0px;
	vertical-align: middle;
}
.dtree a {
	color: #333;
	text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
	white-space: nowrap;
	padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
	color: #333;
	text-decoration: underline;
}
.dtree a.nodeSel {
	background-color: #c0d2ec;
}
.dtree .clip {
	overflow: hidden;
}

/* เมนู และ ซับเมนู */

ol.submenu {
     list-style-type:none;
    
     display:block;
     position:absolute;
     visibility:hidden;
}
ol.submenu li {
     padding:0px 0 2px 0;
     margin:0px;
}
ol.submenu a {

}
ol.submenu a:hover {

}
.table_dot {

	font-size: 12px;
	font-weight: normal;
	font-family: "Tahoma";
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: dotted;
	border-left-style: none;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #E8E8E8;
	border-left-color: #CCCCCC;
}
.mytabledotdot {

	font-size: 12px;
	font-weight: normal;
	font-family: "Tahoma";
	border: 1px dashed #CCCCCC;
}
.select {
	font-size: 12px;
	font-weight: normal;
	font-family: "MS Sans Serif";
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dashed;
	border-right-style: dashed;
	border-bottom-style: dashed;
	border-left-style: dashed;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	background-color: #99CCCC;
}
.tabmenu_noselect {
	font-size: 12px;
	font-weight: normal;
	font-family: "MS Sans Serif";
	background-image: url(images/tabmenu_02.gif);
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: none;
	border-right-color: #FFFFFF;
	border-bottom-color: #CCCCCC;
}

.tabmenu_select {
	font-size: 12px;
	font-weight: normal;
	font-family: "MS Sans Serif";
	background-image: url(images/tabmenu_01.gif);
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 0px;
	border-left-width: 1px;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	height: 28px;
	float: none;
	clear: none;
	padding-top: 5px;
	padding-right: 5px;
	padding-left: 5px;
}
.title1 {
	font-size: 16px;
	font-weight: bolder;
	font-family: "Tahoma";
	color: #000040;
}
.title2 {
	font-size: 14px;
	font-weight: bolder;
	font-family: "Tahoma";
	color: #0000FF;
}
.title3 {
	font-size: 12px;
	font-weight: bolder;
	font-family: "Tahoma";
	color: #4F4FFF;
}
  .clear {
    clear:both;
    height:1px;
    overflow:hidden;
}
.block_themes_config {
background-image:url(images/bg_title.gif);
background-repeat:no-repeat;
width:220px; height:40px; padding:5px; }


/*Example CSS for the two demo scrollers*/

#pscroller1{
width: 200px;
height: 100px;
padding:20px;

}


#pscroller2 a{
text-decoration: none;
}

.someclass{ //class to apply to your scroller(s) if desired
}
/* Clearfix
-------------------------------------------------------------*/
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

* html > body .clearfix {
	display: block;
	width: 100%;
}

* html .clearfix {
	height: 1%;
}

.top_right {width:250px; float:right;  margin-right:20px; }
* html .top_right {width:250px; float:right;  margin-right:13px; }
.top_left { width:660px; float:left;  margin-left:20px; }
* html .top_left { width:660px; float:left;  margin-left:13px; }

.ddsmoothmenu{
font: bold 12px Tahoma;
margin-left:15px;
width: 100%;

}

.ddsmoothmenu ul{
z-index:100;
margin: 0;
padding: 0;
list-style-type: none;
}

/*Top level list items*/
.ddsmoothmenu ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
.ddsmoothmenu ul li a{
display: block;

color: white;
padding: 8px 10px;
border-right: 1px solid #778;
color: #aef0fc;
text-decoration: none;
}

* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{
color: #082f94;
}

.ddsmoothmenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
background: #5DA9FF; 
color: white;
}

.ddsmoothmenu ul li a:hover{
background: #5DA9FF; /*background of menu items during onmouseover (hover state)*/
color: white;
}
	
/*1st sub level menu*/
.ddsmoothmenu ul li ul{
position: absolute;
left: 0;
display: none; /*collapse all sub menus to begin with*/
visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.ddsmoothmenu ul li ul li{
display: list-item;
float: none;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.ddsmoothmenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.ddsmoothmenu ul li ul li a{
font: normal 12px Tahoma;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
}


/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}

.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}

/* ######### CSS for shadow added to sub menus  ######### */

.ddshadow{
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: silver;
}

.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.8;
}
.menu_style {
/*border-bottom:1px #FFFFFF solid; border-top:1px #FFFFFF solid;  */
margin-right:10px;
margin-left:10px;
background:#FFFFFF;
}

